import hyRequest from '..'

export function getEntireRoles() {
  return hyRequest.post({
    url: 'role/list'
  })
}

export function getEntireDepartments() {
  return hyRequest.post({
    url: 'department/list'
  })
}

// 得到完整的菜单
export function getEntrireMenus() {
  return hyRequest.post({
    url: 'menu/list'
  })
}
